const cmd = require('child_process');
module.exports = {
	launchApp() {
		console.log('启动app')
		cmd.exec("adb shell am force-stop com.bcy.fsapp")
		setTimeout(() =>{
			cmd.exec("adb shell am start -n com.bcy.fsapp/.activity.MainActivity")
		},2000)
	},
	closeApp() {
		console.log('关闭app')
		cmd.exec("adb shell am force-stop com.bcy.fsapp")
	}
}